package com.jb.web.session;

import com.jb.web.context.WebContext;

import java.util.List;
import java.util.Locale;


public interface SessionUser {
    public void setAccess(int access);
    public int getAccess();

    public String getCountry();

    public String getId();

    public void setLanguage(String lang);

    public String getLanguage();

    public Locale getLocale();

    public void setPassword(String pwd);

    public String getPassword();

    public void setScreenName(String userName);

    public String getScreenName();

    public void setUserName(String userName);

    public String getUserName();

    public int accessLevel(WebContext pCtx, SessionUser visitor);

    public void onLogin(WebContext ctx);

    public void onLogout(WebContext ctx);
}
